#define _CRT_SECURE_NO_WARNINGS 1

#include"Stack.h"

void STTest01()
{
	ST st;
	STInit(&st);

	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	printf("%d\n", STTop(&st));
	//printf("%d\n", STSize(&st));

	STPop(&st);
	printf("%d\n", STTop(&st));
	STPop(&st);
	STPop(&st);
	STPop(&st);
	//printf("%d\n", STTop(&st));

	printf("%d\n", STSize(&st));

	STDestroy(&st);

}

int main()
{
	STTest01();
	return 0;
}